package com.snailhd.cloud.account.spi;

import com.snailhd.cloud.account.entity.UserDO;
import com.snailhd.common.entity.IResult;

/**
 * @ClassName UserService
 * @Description
 * @Author hd
 * @Date 2019-06-08 23:40
 */
public interface UserService {

    /**
     * 账户注册
     * @return
     */
    IResult register();

    UserDO queryByPhone(Long phone);

    UserDO queryByEmail(String email);

    UserDO queryById(Long id);
}
